package com.dhsc.local.dao.impl.yypt;

import java.util.List;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.dhsc.domain.yypt.yhzx.TJgxxVo;
import com.dhsc.domain.yypt.yhzx.TYhxxVo;
import com.dhsc.local.dao.yypt.IYhzxDao;

@Repository("yhzxdao")
public class YhzxDaoImpl implements IYhzxDao{
	
	@Autowired
	private SqlSessionTemplate localSqlSessionTemplate;

	@Override
	public List<TYhxxVo> queryTYhxx(TYhxxVo y) {
		return localSqlSessionTemplate.selectList("TYhzxMapper.queryTYhxx", y);
	}

	@Override
	public List<TJgxxVo> queryTJgxx(TJgxxVo j) {
		return localSqlSessionTemplate.selectList("TYhzxMapper.queryTJgxx", j);
	}
}
